<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="es" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/pda.css"/>  
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>
<div class="container" id="page">
    <div id="opcions" class="div_centrat">
        <?php 
            echo CHtml::image('images/pekin_logo_mobile.png');
            echo "<br/>";
            //echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
            echo CHtml::link(CHtml::image('images/pda/nova.png'), array('/comanda/create'));
            echo "&nbsp;&nbsp;&nbsp;";
            echo CHtml::link(CHtml::image('images/pda/favorites.png'), array('/comanda/actives'));
            echo "&nbsp;&nbsp;&nbsp;";
            echo CHtml::link(CHtml::image('images/pda/totes.png'), array('/comanda/recents'));
            echo "&nbsp;&nbsp;&nbsp;";
            echo CHtml::link(CHtml::image('images/pda/perfil.png'), array('/perfil/index','id'=>Yii::app()->user->id));
            echo "&nbsp;&nbsp;&nbsp;";
            echo CHtml::link(CHtml::image('images/pda/sortir.png'), array('/site/logout'));
        ?>       
        <div id="titol" class="div_centrat">
            <br/>
            <?php echo "<b>".CHtml::encode(strtoupper($this->pageTitle))."</b> (".Yii::app()->user->name.")"; ?>
        </div>
    </div><!-- Opcions -->  
    <br/>
    <?php echo $content; ?>
    
    <div id="footer" class="div_centrat">
        <p>&copy; Anagrama Informàtics SL - Grup 01 - Síntesi ASI<br/>
        <?php echo Yii::powered(); ?></p>
    </div><!-- footer -->
</div>
</body>
</html>